<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html">
 
    <p:dataList value="#{mbCatalogue.categories}" var="categorie" itemType="disc">  
        <h:form> 
            <h:commandLink value="#{categorie.nomCategorie}"
                           action="#{mbCatalogue
                                     .afficherProduitsParCategorie(categorie)}"/> 
        </h:form>    
    </p:dataList>  
</html>
